<template>
	<view>
		<u-modal cancel-text='否' confirm-text='是' @confirm='confirm' @cancel='cancel' show-cancel-button='true' v-model="show" :title='title' :content="content"></u-modal>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			
				show: true,
				title:'选择类型',
				
				content: '请确定是否是中国大陆公民'
			}
		},
		onLoad() {

		},
		methods: {
			//确定
			confirm(){
				console.log('是')
				uni.redirectTo({
					url:'yesForm/yesForm'
				})
			},
			//取消
			cancel(){
				console.log('否')
				uni.redirectTo({
					url:'noForm/noForm'
				})
			}
		}
	}
</script>

<style lang="scss">
	
</style>
